<template>
	<view class="constructor">
		<view class="header">
			<view class="search-image">
				<input class="search" placeholder="请输入关键字查询" />
				<image src="../../../static/批量文件搜索.png"></image>
			</view>
			<view class="exhibition">
				<view class="content">
					鱼泡测试鱼泡测试鱼泡测试
					<view class="num" style="color: #ff0000;">123113</view>
				</view>
			</view>
		</view>
		<div v-for="item in items" :key="item.id">
			<view @click="goMessage" class="people">
				<view class="name">
					刘世守
				</view>
				<view class="mesg">
					<view class="IDNum">
						身份证号:
						<span>12345678911111111</span>
					</view>
					<view class="certificate">资质证书:<span>1</span></view>
				</view>
			</view>
		</div>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				items: [1, 2, 3, 4,1, 2, 3, 4,1, 2, 3, 4]
			}
		},
		methods:{
			goMessage(){
				uni.navigateTo({
					url:"message"
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.constructor{
		.header {
			width: 100vw;
			position: fixed;
			background: #007AFF;
		
			.search-image {
				position: relative;
				display: flex;
				align-items: center;
				justify-content: center;
				padding-bottom: 10rpx;
		
				.search {
					width: 80vw;
					padding: 10rpx 20rpx;
					background: #FFFFFF;
					border-radius: 20rpx;
				}
		
				image {
					width: 40rpx;
					height: 40rpx;
					position: absolute;
					right: 80rpx;
				}
			}
		
			.exhibition {
				background: #dadada;
				display: flex;
				justify-content: space-between;
				padding: 20rpx;
		
				.content {
					display: flex;
					overflow: hidden;
					text-overflow: ellipsis;
					white-space: nowrap;
				}
			}
		}
		.people{
			padding: 20rpx;
			.name{
				margin-bottom: 20rpx;
			}
			.mesg{
				display: flex;
				color: #7D7E80;
				padding-bottom: 20rpx;
				border-bottom: solid 1px #C0C4CC;
				.IDNum{
					margin-right: 20rpx;
				}
				
			}
		}
	}
</style>
